package com.smartleanx.module.hrm.controller.admin.companysystem.vo;

import com.smartleanx.module.infra.api.file.dto.FileRefRespDTO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import java.util.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;

@Schema(description = "管理后台 - 公司制度库 Response VO")
@Data
@ExcelIgnoreUnannotated
public class CompanySystemRespVO {

    @Schema(description = "主键id", requiredMode = Schema.RequiredMode.REQUIRED, example = "32319")
    @ExcelProperty("主键id")
    private Long id;

    @Schema(description = "制度名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "王五")
    @ExcelProperty("制度名称")
    private String name;

    @Schema(description = "制度编号")
    @ExcelProperty("制度编号")
    private String code;

    @Schema(description = "制度分类id", requiredMode = Schema.RequiredMode.REQUIRED, example = "6522")
    @ExcelProperty("制度分类id")
    private Long typeId;

    @Schema(description = "是否符合民主程序", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @ExcelProperty("是否符合民主程序")
    private Integer complianceStatus;

    @Schema(description = "状态", example = "2")
    private Integer status;

    @Schema(description = "学习范围（对应组织结构）")
    @ExcelProperty("学习范围（对应组织结构）")
    private List<Long> rangeIds;

    @Schema(description = "是否需员工确认", example = "2")
    @ExcelProperty("是否需员工确认")
    private Integer confirmStatus;

    @Schema(description = "用于学习页面确认前倒数的秒数", example = "2")
    @ExcelProperty("用于学习页面确认前倒数的秒数")
    private Integer duration;

    @Schema(description = "员工确认信息")
    @ExcelProperty("员工确认信息")
    private String confirmInfo;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

    @Schema(description = "附件相关")
    private List<FileRefRespDTO> fileList;

}
